package day2.test;

import day2.dao.EmployeeDao;
import day2.entity.Employee;
import org.junit.Test;
import util.Util;

public class Demo2 {
    @Test
    public void demo2(){
        EmployeeDao dao= Util.getSession().getMapper(EmployeeDao.class);
        Employee e=new Employee();
        e.setName("abc");
        e.setPass("123");
        e.setTablename("employee");
        System.out.println(dao.selectByName3(e));
    }
}
